<?php
/* @var $this StudentController */
/* @var $model Student */
///////
?>
<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'student-grid',
	'summaryText'=>'',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
			array(
					'header'=>'รหัสนักศึกษา',
					'htmlOptions'=>array('width'=>'120px'),
					'value'=>'$data->student_id',
					'filter'=>CHtml::activetextField($model,'student_id'),
			),
		array(
			'header'=>'ชื่อนักศึกษา',
			'value'=>'$data->student_name." ".$data->student_surname',	
			'filter'=>CHtml::activetextField($model,'student_name'),		
			),
	),
)); ?>
